package com.salon.client.widgets.suggest;

import com.google.gwt.user.client.rpc.IsSerializable;
import com.google.gwt.user.client.ui.SuggestOracle.Suggestion;
import com.salon.client.beans.ParentBean;

public class ParentSuggestion implements IsSerializable, Suggestion {
	
	private String displayString;
	private int objKey;
	private ParentBean bean;

	/* (non-Javadoc)
	 * @see com.google.gwt.user.client.ui.SuggestOracle.Suggestion#getDisplayString()
	 */
	public String getDisplayString() {
		return displayString;
	}

	/* (non-Javadoc)
	 * @see com.google.gwt.user.client.ui.SuggestOracle.Suggestion#getReplacementString()
	 */
	public String getReplacementString() {
		return displayString;
	}
	
	public void setDisplayString(String displayString) {
		this.displayString = displayString;
	}

	/**
	 * @param objKey the objKey to set
	 */
	public void setObjKey(int objKey) {
		this.objKey = objKey;
	}

	/**
	 * @return the objKey
	 */
	public int getObjKey() {
		return objKey;
	}

	/**
	 * @param bean the bean to set
	 */
	public void setBean(ParentBean bean) {
		this.bean = bean;
	}

	/**
	 * @return the bean
	 */
	public ParentBean getBean() {
		return bean;
	}

}